﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace yule.Model
{
    /// <summary>
    /// 实体接口
    /// </summary>
    public interface IModel<T> where T : class,new()
    {
        dynamic Id { get; set; }
        /// <summary>
        /// 通过DataRow给实体赋值
        /// </summary>
        /// <param name="row"></param>
        void Convert(System.Data.DataRow row);
    }
}